package com.caijin.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.caijin.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 作业信息表
 * </p>
 *
 * @author Peas
 * @since 2021-05-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_task_info")
@ApiModel(value="TaskInfo对象", description="作业信息表")
public class TaskInfo extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "作业编号，主键，唯一标识，自增")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "作业题目")
    private String title;

    @ApiModelProperty(value = "作业内容")
    private String content;

    @ApiModelProperty(value = "作业内容")
    private String discribe;

    @ApiModelProperty(value = "教师工号")
    private Long tno;

    @ApiModelProperty(value = "课程id")
    private Long cno;



}
